//
//  home_iPhone_ViewController.h
//  chilemat
//
//  Created by Cristian Gonzalez Figueroa on 21-03-14.
//  Copyright (c) 2014 Chilemat SpA. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface home_iPad_ViewController : UIViewController <UIScrollViewDelegate, UITableViewDelegate, UITableViewDataSource>


@property (weak, nonatomic) IBOutlet UIScrollView *scrollViewLeft;

@property (nonatomic, strong) IBOutlet UIScrollView *scrollView;

@property (weak, nonatomic) IBOutlet UIScrollView *scrollViewHomeContent;

@property (weak, nonatomic) IBOutlet UITableView *tableViewOfertas;

@property (weak, nonatomic) IBOutlet UITableView *tableViewMasVistos;

@property (weak, nonatomic) IBOutlet UITableView *tableViewMarcas;

@property (nonatomic, strong) NSMutableArray *dataArrayOfertas;

@property (nonatomic, strong) NSMutableArray *dataArrayMasVistos;

@property (nonatomic, strong) NSMutableArray *dataArrayMarcas;

@property (nonatomic, strong) NSMutableArray *json;

@property (nonatomic, strong) NSMutableArray *jsonOfertas;

@property (nonatomic, strong) NSMutableArray *jsonMasVistos;

@property (nonatomic, strong) NSMutableArray *jsonMarcas;

@property (nonatomic, strong) NSMutableArray *jsonBanner;

@property (nonatomic, strong) NSMutableArray *imageObjectsOfertas;

@property (nonatomic, strong) NSMutableArray *dataArrayRefreshOfertas;

//-----------------------------------------------------------------------
@property (nonatomic, strong) NSMutableArray *imageObjectsMasVistos;

@property (nonatomic, strong) NSMutableArray *dataArrayRefreshMasVistos;

@property (nonatomic, strong) NSMutableArray *imageObjectsMarcas;

@property (weak, nonatomic) IBOutlet UIView *viewRegister;

//-----------------------------------------------------------------------

@property (nonatomic, strong) NSMutableArray *dataArraySearch;

//-----------------------------------------------------------------------

- (void) retrieveDataOfertas;

- (void) retrieveDataMasVistos;

- (void) retrieveDataMarcas;

- (void) cargarBanner;

- (void) bannerInformation;

- (IBAction)searchProducts:(id)sender;

- (IBAction)callNumber:(id)sender;

- (IBAction)detailProduct:(id)sender;

- (IBAction)detailProductMoreView:(id)sender;


@end

